package hcom.model.main.dao;

import hcom.model.main.bean.MainBean;

import java.util.List;

public interface IMain {
	/**
	 * 아이피 체크
	 * @param mainBean
	 * @return
	 * @throws Exception
	 */
	public List<MainBean> checkIP(MainBean mainBean) throws Exception;
	
	/**
	 * 관리자 체크
	 * @param mainBean
	 * @return
	 * @throws Exception
	 */
	public MainBean getAdminInfo(MainBean mainBean) throws Exception;
	
	/**
	 * 팀장 체크
	 * @param mainBean
	 * @return
	 * @throws Exception
	 */
	public MainBean getLeaderInfo(MainBean mainBean) throws Exception;
	
	/**
	 * 로그인 로그 저장
	 * @param mainBean
	 * @throws Exception
	 */
	public void insertLoginLog(MainBean mainBean) throws Exception;
}
